package com.ctgu.fastleader.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/page")
public class PageController {//页面控制

    @RequestMapping("/toNavigation")
    public String toNavigation() { return "navigation"; }

    @RequestMapping("/toIndex")
    public String toIndex(){
        return "index";
    }

    @RequestMapping("/toOrder")
    public String toOrder(){
        return "order";
    }

    @RequestMapping("toDelivery")
    public String toDelivery(){
        return "delivery";
    }

    @RequestMapping("toProduct")
    public String toProduct(){
        return "product";
    }

    @RequestMapping("/toAddOutputOrder")
    public String toAddOutputOrder(){
        return "order_add";
    }

    @RequestMapping("/toAbout")
    public String toAbout(){ return "about"; }

    @RequestMapping("/toProductAdd")
    public String toProductAdd(){ return "product_add"; }

    @RequestMapping("/toInwarehouse")
    public String toInwarehouse(){ return "inwarehouse"; }

    @RequestMapping("/toOutwarehouse")
    public String toOutwarehouse(){ return "outwarehouse"; }

    @RequestMapping("/toInput")
    public String toInput(){ return "input"; }

    @RequestMapping("/toOutput")
    public String toOutput(){ return "output"; }

    @RequestMapping("/toSupplier")
    public String toSupplier(){ return "supplier"; }

    @RequestMapping("/toSupplierAdd")
    public String toSupplierAdd(){ return "supplier_add"; }

    @RequestMapping("/toInputOrderAdd")
    public String toInputOrderAdd(){ return "inputorder_add"; }

    @RequestMapping("/toInputorderrecord")
    public String toInputorderrecord(){ return "inputorderrecord"; }

    @RequestMapping("/toOutputorderrecord")
    public String toOutputorderrecord(){ return "outputorderrecord"; }

    @RequestMapping("/toDeliveryMap")
    public String toDeliveryMap(){ return "deliverymap"; }

    @RequestMapping("/toWarehouse")
    public String toWarehouse(){ return "warehouse"; }

    @RequestMapping("/toShelf")
    public String toShelf(){ return "shelf"; }

    @RequestMapping("toShelfAdd")
    public String toShelfAdd(){ return "shelf_add"; }

    @RequestMapping("/toWarehouseAdd")
    public String toWarehouseAdd(){ return "warehouse_add"; }

    @RequestMapping("toUpdateWarehouse")
    public String toUpdateWarehouse(){ return "warehouse_update"; }

    @RequestMapping("/toUser")
    public String toUser(){ return "user"; }

    @RequestMapping("/toAddUser")
    public String toAddUser(){ return "user_add"; }

    @RequestMapping("/toUpdateUser")
    public String toUpdateUser(){ return "user_update"; }

    @RequestMapping("/toDetailSendGoods")
    public String toDetailSendGoods(){ return "sendgoods_detail"; }

    @RequestMapping("/toRecordSendGoods")
    public String toRecordSendGoods(){ return "sendgoods_record"; }

}
